Package com.netscape.cms.listeners
Class RequestInQListener
java.lang.Object
com.netscape.certsrv.request.RequestListener
com.netscape.cms.listeners.RequestInQListener
a listener for every request gets into the request queue.
Here is a list of available $TOKENs for email notification templates:
- $RequestorEmail
- $CertType
- $RequestType
- $RequestId
- $HttpHost
- $HttpPort
- $SenderEmail
- $RecipientEmail
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic org.slf4j.Logger
protected ConfigStore
protected static final String
static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from class com.netscape.certsrv.request.RequestListener
engine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
carries out the operation when the listener is triggered.protected Object
protected Object
void
init
(Subsystem sub, ConfigStore config) initializes the listener from the configurationvoid
sets the configurable parametersMethods inherited from class com.netscape.certsrv.request.RequestListener
getCMSEngine, init, setCMSEngine
-
Field Details
-
logger
public static org.slf4j.Logger logger -
PROP_ENABLED
- See Also:
-
PROP_SENDER_EMAIL
- See Also:
-
PROP_RECVR_EMAIL
- See Also:
-
PROP_EMAIL_TEMPLATE
- See Also:
-
PROP_EMAIL_SUBJECT
- See Also:
-
PROP_NOTIFY_SUBSTORE
- See Also:
-
PROP_REQ_IN_Q_SUBSTORE
- See Also:
-
mConfig
-
-
Constructor Details
-
RequestInQListener
public RequestInQListener()Constructor
-
-
Method Details
-
init
initializes the listener from the configuration- Specified by:
init
in classRequestListener
- Parameters:
sub
- subsystemconfig
- configuration store- Throws:
EBaseException
-
accept
carries out the operation when the listener is triggered.- Specified by:
accept
in classRequestListener
- Parameters:
r
- Request structure holding the request information- See Also:
-
getRequestorEmail
-
getCertType
-
set
sets the configurable parameters- Specified by:
set
in classRequestListener
- Parameters:
name
- a String represents the name of the configuration parameter to be setval
- a String containing the value to be set for name
-